/**
 * 
 * Very simple class for lasteSights
 * Yes I spelt it wrong :( 
 * But it adds to the personality of the
 * code im sure >.>
 * 
 * Again, never created manually
 * It is done via tank object as
 * every tank must have one
 * 
 * @author Andrew
 * @creator Andrew
 * 
 * LAST UPDATED 2/4/12 Andrew
 *
 */
public class LaserSite extends Object {
	
	// current angle of the laser
	private double angle;
	
	// x and y to put it and its angle
	public LaserSite(double x,double y,double angler) {
		super(new Sprite("ls.png"),x,y);
		this.angle = angler;
	}
	
	// draw it but at an angle
	public void draw() {
		super.draw(angle);
	}
	// tried to reverse but it doesnt work
	// this is pointless, but i use it anyway
	public void drawReveresed() {
		super.drawReversed(angle);
	}
	
	// for changing the angle
	public void changeAngle(double n) {
		this.angle = -90-n;
	}

}
